<%@ taglib uri="/tld/extremecomponents" prefix="ec" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %> 

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

	<script src = "../js/jquery-1.12.1.js" type = "text/javascript"></script>
	<script src = "../js/common.js" type = "text/javascript"></script>
	
	<link href="<%=request.getContextPath() %>/css/extremecomponents.css" rel="stylesheet" type="text/css" />
	<link href="<%=request.getContextPath() %>/css/global.css" rel="stylesheet" type="text/css" />
	<link rel="stylesheet" type="text/css" href="<%=request.getContextPath() %>/css/H-ui.min.css" />
	<link rel="stylesheet" type="text/css" href="<%=request.getContextPath() %>/css/H-ui.admin.css" />
	<link rel="stylesheet" type="text/css" href="<%=request.getContextPath() %>/css/iconfont.css" />
	<link rel="stylesheet" type="text/css" href="<%=request.getContextPath() %>/css/skin.css" id="skin" />
	<link rel="stylesheet" type="text/css" href="<%=request.getContextPath() %>/css/style.css" />

<title>提交试卷分析</title>
</head>
<script type="text/javascript">
$(function() {
    //查询
    
    $("#btnsearch").click(
        function() {
        	
           formPost(window.SearchState, '','paper?ActionType=paper_SubmitSelect', this);
       	
            });
    });
</script>

<body>
<div id="current">当前位置：试卷提交情况分析 </div>
<form id="SearchState" method="post">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="search_table">
    <tr class="search_title_tr">
      <td colspan="4" class="search_title_L"><img src="../images/search_titleleft.jpg" width="84" height="30" align="top" /></td>
      <td width="25%" class="search_title_R"><img src="../images/search-titleright.jpg" width="8" height="30" align="top" /></td>
    </tr>
<tr>
          
      <td width="12%" class="search_td1">题号：</td>
      <td width="26%" class="search_td2">
        <select name = "TEST_ID" id = "TEST_ID">
        	<option value = "">选择题号</option>
        	<option value = "1">第一题</option>
        	<option value = "2" >第二题</option>
        	<option value = "3" >第三题</option>
        	<option value = "4" >第四题</option>
        	<option value = "5" >第五题</option>
        	<option value = "6" >第六题</option>
        	<option value = "7" >第七题</option>
        	</select>
      </td>
      <td class="search_td2">
      <input id="btnsearch" name="btnsearch" type="submit" class="btn_2" value="查询" /></td>
      </tr>
      </table>
      	</form>
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="search_table">
    <tr class="search_title_tr">
      <td width="12%" class="search_td1">课程名：</td>
      <td colspan="2" class="search_td2">
        <input name="course_id" id="course_id" type="text" size="16" value="${PAPERINFO1[0].course_name}"/>
      </td>
      <td width="12%" class="search_td1">应提交：</td>
      <td colspan="2" class="search_td2">
        <input name="submit" id="submit" type="text" size="16" value="${PAPERINFO1[0].submit}" />
      </td>
      <td width="12%" class="search_td1">已提交：</td>
      <td colspan="2" class="search_td2">
        <input name="already_submit" id="already_submit" type="text" size="16" value="${PAPERINFO1[0].al_submit}"/>
      </td>
      <td width="12%" class="search_td1">未提交：</td>
      <td colspan="2" class="search_td2">
        <input name="undo_submit" id="undo_submit" type="text" size="16" value="${PAPERINFO1[0].undo_submit}" />
      </td>
     
    </tr>
  </table>
 
<div class="mt-20">

	<ec:table items="PAPERINFO" var="row"
    action="paper?ActionType=paper_Submit"
    view="html" 
    autoIncludeParameters="false"
     >
    
    <ec:exportXls fileName="userList.xls" />
    <ec:row>
    	<ec:column style="text-align:center;" width="7%" property="rowcount" cell="rowCount" title="序号" sortable="false"/>
        <ec:column property="student_id" style="text-align:center;" title="学号"/>
        <ec:column property="student_name" style="text-align:center;" title="姓名" />
         <ec:column property="is_submit" style="text-align:center;" title="是否提交" />
        
        <ec:column property="last_submit_time" style="text-align:center;" title="提交时间"/>
        <ec:column property="avg_consume_memory" style="text-align:center;" title="平均占用内存"/>
        <ec:column property="avg_run_time" style="text-align:center;" title="平均CPU运行时间">
        
        
        </ec:column>
    </ec:row>
	</ec:table>

</div>

</body>
</html>